home *** CD-ROM | disk | FTP | other *** search
/ MacWorld 1995 May / Macworld CD-ROM (May 1995).cdr / Demos / Business / Claris / MacWrite Pro / Samples / Frontier / Convert Documents / Convert Documents.rsrc / scpt_128 < prev    next >
Unknown  |  1993-12-13  |  6.4 KB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text


This file was not able to be converted.
This format is not currently supported by dexvert.

ConfidenceProgramDetectionMatch TypeSupport
100% file data default
100% TrID DEGAS med-res bitmap default (weak)



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 01 04 fe 00 02 00 00 | 03 18 00 00 15 ef 00 08 |........|........|
|00000010| 02 00 00 0f 06 47 65 6e | 65 76 61 00 00 00 00 00 |.....Gen|eva.....|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 09 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 00 06 54 00 00 a6 15 | ab e0 a9 32 5f cf 00 00 |...T....|...2_...|
|00000050| 00 50 00 00 fe 8b 02 d5 | 01 d9 05 84 4c 41 4e 44 |.P......|....LAND|
|00000060| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 00 00 69 66 20 73 |........|....if s|
|00000080| 79 73 74 65 6d 2e 64 72 | 6f 70 6c 65 74 2e 63 6c |ystem.dr|oplet.cl|
|00000090| 6f 73 65 64 6f 77 6e 0d | 09 6f 6e 20 6d 61 6b 65 |osedown.|.on make|
|000000a0| 54 68 65 52 65 70 6f 72 | 74 28 72 65 70 6f 72 74 |TheRepor|t(report|
|000000b0| 4e 75 6d 62 65 72 29 0d | 09 09 6c 6f 63 61 6c 0d |Number).|..local.|
|000000c0| 09 09 09 74 68 65 50 61 | 74 68 4e 61 6d 65 0d 09 |...thePa|thName..|
|000000d0| 09 77 69 74 68 20 4d 61 | 63 57 72 69 74 65 0d 09 |.with Ma|cWrite..|
|000000e0| 09 09 74 68 65 50 61 74 | 68 4e 61 6d 65 20 3d 20 |..thePat|hName = |
|000000f0| 73 74 72 69 6e 67 20 28 | 66 69 6c 65 2e 66 6f 6c |string (|file.fol|
|00000100| 64 65 72 46 72 6f 6d 50 | 61 74 68 28 4d 61 63 57 |derFromP|ath(MacW|
|00000110| 72 69 74 65 2e 61 70 70 | 49 6e 66 6f 2e 70 61 74 |rite.app|Info.pat|
|00000120| 68 29 29 0d 09 09 09 6e | 65 77 44 6f 63 75 6d 65 |h))....n|ewDocume|
|00000130| 6e 74 28 29 0d 09 09 09 | 70 75 74 43 68 61 72 73 |nt()....|putChars|
|00000140| 28 73 63 72 61 74 63 68 | 70 61 64 2e 46 69 6c 65 |(scratch|pad.File|
|00000150| 43 6f 6e 76 65 72 74 65 | 72 52 65 70 6f 72 74 53 |Converte|rReportS|
|00000160| 74 72 69 6e 67 29 0d 09 | 09 09 73 61 76 65 44 6f |tring)..|..saveDo|
|00000170| 63 75 6d 65 6e 74 41 73 | 28 73 74 72 69 6e 67 28 |cumentAs|(string(|
|00000180| 74 68 65 50 61 74 68 4e | 61 6d 65 29 20 2b 20 22 |thePathN|ame) + "|
|00000190| 4d 57 20 50 72 6f 20 54 | 72 61 6e 73 6c 61 74 69 |MW Pro T|ranslati|
|000001a0| 6f 6e 20 52 65 70 6f 72 | 74 20 22 2b 20 73 74 72 |on Repor|t "+ str|
|000001b0| 69 6e 67 28 72 65 70 6f | 72 74 4e 75 6d 62 65 72 |ing(repo|rtNumber|
|000001c0| 29 29 0d 09 73 63 72 61 | 74 63 68 70 61 64 2e 46 |))..scra|tchpad.F|
|000001d0| 69 6c 65 43 6f 6e 76 65 | 72 74 65 72 52 65 70 6f |ileConve|rterRepo|
|000001e0| 72 74 4e 75 6d 62 65 72 | 20 3d 20 73 63 72 61 74 |rtNumber| = scrat|
|000001f0| 63 68 70 61 64 2e 46 69 | 6c 65 43 6f 6e 76 65 72 |chpad.Fi|leConver|
|00000200| 74 65 72 52 65 70 6f 72 | 74 4e 75 6d 62 65 72 20 |terRepor|tNumber |
|00000210| 2b 20 31 0d 09 6d 61 6b | 65 54 68 65 52 65 70 6f |+ 1..mak|eTheRepo|
|00000220| 72 74 28 73 63 72 61 74 | 63 68 70 61 64 2e 46 69 |rt(scrat|chpad.Fi|
|00000230| 6c 65 43 6f 6e 76 65 72 | 74 65 72 52 65 70 6f 72 |leConver|terRepor|
|00000240| 74 4e 75 6d 62 65 72 29 | 0d 09 0d 0d 69 66 20 73 |tNumber)|....if s|
|00000250| 79 73 74 65 6d 2e 64 72 | 6f 70 6c 65 74 2e 73 74 |ystem.dr|oplet.st|
|00000260| 61 72 74 75 70 0d 09 4d | 61 6b 65 20 73 75 72 65 |artup..M|ake sure|
|00000270| 20 4d 61 63 57 72 69 74 | 65 20 69 73 20 72 75 6e | MacWrit|e is run|
|00000280| 6e 69 6e 67 2c 20 69 6e | 69 74 69 61 6c 69 7a 65 |ning, in|itialize|
|00000290| 20 73 6f 6d 65 20 74 61 | 62 6c 65 20 65 6e 74 72 | some ta|ble entr|
|000002a0| 69 65 73 0d 09 69 66 20 | 21 64 65 66 69 6e 65 64 |ies..if |!defined|
|000002b0| 28 73 79 73 74 65 6d 2e | 76 65 72 62 73 2e 61 70 |(system.|verbs.ap|
|000002c0| 70 73 2e 4d 61 63 57 72 | 69 74 65 29 0d 09 09 64 |ps.MacWr|ite)...d|
|000002d0| 69 61 6c 6f 67 2e 61 6c | 65 72 74 28 22 59 6f 75 |ialog.al|ert("You|
|000002e0| 20 6e 65 65 64 20 74 6f | 20 69 6e 73 74 61 6c 6c | need to| install|
|000002f0| 20 74 68 65 20 4d 61 63 | 57 72 69 74 65 20 76 65 | the Mac|Write ve|
|00000300| 72 62 20 74 61 62 6c 65 | 2c 20 62 79 20 64 6f 75 |rb table|, by dou|
|00000310| 62 6c 65 20 63 6c 69 63 | 6b 69 6e 67 20 74 68 65 |ble clic|king the|
|00000320| 20 66 69 6c 65 20 d2 4d | 61 63 57 72 69 74 65 2e | file .M|acWrite.|
|00000330| 46 72 6f 6e 74 65 72 2e | d3 22 29 0d 09 09 72 65 |Fronter.|.")...re|
|00000340| 74 75 72 6e 0d 09 61 70 | 70 2e 73 74 61 72 74 28 |turn..ap|p.start(|
|00000350| 22 4d 61 63 57 72 69 74 | 65 22 29 0d 09 4d 61 63 |"MacWrit|e")..Mac|
|00000360| 57 72 69 74 65 2e 62 72 | 69 6e 67 54 6f 46 72 6f |Write.br|ingToFro|
|00000370| 6e 74 28 29 0d 09 54 68 | 69 73 20 6d 61 6b 65 73 |nt()..Th|is makes|
|00000380| 20 70 65 72 6d 61 6e 65 | 6e 74 20 65 6e 74 72 69 | permane|nt entri|
|00000390| 65 73 20 69 6e 20 79 6f | 75 72 20 46 72 6f 6e 74 |es in yo|ur Front|
|000003a0| 69 65 72 20 73 63 72 61 | 74 63 68 70 61 64 20 74 |ier scra|tchpad t|
|000003b0| 61 62 6c 65 2c 20 6f 6e | 65 20 74 6f 20 6b 65 65 |able, on|e to kee|
|000003c0| 70 20 74 72 61 63 6b 20 | 6f 66 20 68 6f 77 0d 09 |p track |of how..|
|000003d0| 09 6d 61 6e 79 20 74 69 | 6d 65 73 20 79 6f 75 20 |.many ti|mes you |
|000003e0| 68 61 76 65 20 75 73 65 | 64 20 74 68 69 73 20 73 |have use|d this s|
|000003f0| 63 72 69 70 74 2e 0d 09 | 69 66 20 21 64 65 66 69 |cript...|if !defi|
|00000400| 6e 65 64 28 73 63 72 61 | 74 63 68 70 61 64 2e 46 |ned(scra|tchpad.F|
|00000410| 69 6c 65 43 6f 6e 76 65 | 72 74 65 72 52 65 70 6f |ileConve|rterRepo|
|00000420| 72 74 4e 75 6d 62 65 72 | 29 0d 09 09 6e 65 77 28 |rtNumber|)...new(|
|00000430| 69 6e 74 54 79 70 65 2c | 20 40 73 63 72 61 74 63 |intType,| @scratc|
|00000440| 68 70 61 64 2e 46 69 6c | 65 43 6f 6e 76 65 72 74 |hpad.Fil|eConvert|
|00000450| 65 72 52 65 70 6f 72 74 | 4e 75 6d 62 65 72 29 0d |erReport|Number).|
|00000460| 09 73 63 72 61 74 63 68 | 70 61 64 2e 46 69 6c 65 |.scratch|pad.File|
|00000470| 43 6f 6e 76 65 72 74 65 | 72 52 65 70 6f 72 74 53 |Converte|rReportS|
|00000480| 74 72 69 6e 67 20 3d 20 | 22 22 0d 0d 69 66 20 66 |tring = |""..if f|
|00000490| 69 6c 65 2e 65 78 69 73 | 74 73 20 28 73 79 73 74 |ile.exis|ts (syst|
|000004a0| 65 6d 2e 64 72 6f 70 6c | 65 74 2e 70 61 74 68 29 |em.dropl|et.path)|
|000004b0| 0d 09 6c 6f 63 61 6c 0d | 09 09 76 65 72 73 69 6f |..local.|..versio|
|000004c0| 6e 4e 75 6d 62 65 72 2c | 20 73 75 66 66 69 78 2c |nNumber,| suffix,|
|000004d0| 20 73 75 66 66 69 78 4c | 65 6e 67 74 68 2c 20 64 | suffixL|ength, d|
|000004e0| 65 6d 6f 56 65 72 73 69 | 6f 6e 0d 09 63 6f 6e 76 |emoVersi|on..conv|
|000004f0| 65 72 74 46 6f 6c 64 65 | 72 20 69 73 20 63 61 6c |ertFolde|r is cal|
|00000500| 6c 65 64 20 69 66 20 74 | 68 65 20 70 61 74 68 20 |led if t|he path |
|00000510| 70 61 73 73 65 64 20 74 | 6f 20 74 68 65 20 64 72 |passed t|o the dr|
|00000520| 6f 70 6c 65 74 20 69 73 | 20 61 20 66 6f 6c 64 65 |oplet is| a folde|
|00000530| 72 20 28 6f 72 20 61 20 | 76 6f 6c 75 6d 65 29 2e |r (or a |volume).|
|00000540| 20 20 49 74 20 75 73 65 | 73 20 74 68 65 20 70 6f | It use|s the po|
|00000550| 77 65 72 66 75 6c 0d 09 | 09 66 69 6c 65 6c 6f 6f |werful..|.fileloo|
|00000560| 70 20 63 6f 6d 6d 61 6e | 64 20 74 6f 20 70 61 72 |p comman|d to par|
|00000570| 73 65 20 74 68 65 20 66 | 6f 6c 64 65 72 20 61 6e |se the f|older an|
|00000580| 64 20 70 61 73 73 65 73 | 20 65 61 63 68 20 65 78 |d passes| each ex|
|00000590| 74 72 61 63 74 65 64 20 | 70 61 74 68 20 6e 61 6d |tracted |path nam|
|000005a0| 65 20 74 6f 20 74 68 65 | 20 72 6f 75 74 69 6e 65 |e to the| routine|
|000005b0| 0d 09 09 63 6f 6e 76 65 | 72 74 46 69 6c 65 2c 20 |...conve|rtFile, |
|000005c0| 77 68 69 63 68 20 63 6f | 6e 76 65 72 74 73 20 65 |which co|nverts e|
|000005d0| 61 63 68 20 66 69 6c 65 | 20 69 6e 64 69 76 69 64 |ach file| individ|
|000005e0| 75 61 6c 6c 79 0d 09 6f | 6e 20 63 6f 6e 76 65 72 |ually..o|n conver|
|000005f0| 74 46 6f 6c 64 65 72 28 | 66 6f 6c 64 65 72 4e 61 |tFolder(|folderNa|
|00000600| 6d 65 29 0d 09 09 66 69 | 6c 65 6c 6f 6f 70 28 66 |me)...fi|leloop(f|
|00000610| 69 6c 65 50 61 74 68 4e | 61 6d 65 20 69 6e 20 66 |ilePathN|ame in f|
|00000620| 6f 6c 64 65 72 4e 61 6d | 65 2c 20 69 6e 66 69 6e |olderNam|e, infin|
|00000630| 69 74 79 29 0d 09 09 09 | 63 6f 6e 76 65 72 74 46 |ity)....|convertF|
|00000640| 69 6c 65 28 66 69 6c 65 | 50 61 74 68 4e 61 6d 65 |ile(file|PathName|
|00000650| 29 0d 09 09 72 65 74 75 | 72 6e 20 74 72 75 65 0d |)...retu|rn true.|
|00000660| 09 6f 6e 20 63 6f 6e 76 | 65 72 74 46 69 6c 65 28 |.on conv|ertFile(|
|00000670| 66 69 6c 65 50 61 74 68 | 4e 61 6d 65 29 20 0d 09 |filePath|Name) ..|
|00000680| 09 6c 6f 63 61 6c 0d 09 | 09 09 65 78 74 72 61 63 |.local..|..extrac|
|00000690| 74 20 74 68 65 20 61 63 | 74 75 61 6c 20 66 69 6c |t the ac|tual fil|
|000006a0| 65 20 6e 61 6d 65 20 66 | 72 6f 6d 20 74 68 65 20 |e name f|rom the |
|000006b0| 66 75 6c 6c 20 70 61 74 | 68 20 6e 61 6d 65 0d 09 |full pat|h name..|
|000006c0| 09 09 66 69 6c 65 4e 61 | 6d 65 20 3d 20 66 69 6c |..fileNa|me = fil|
|000006d0| 65 2e 66 69 6c 65 46 72 | 6f 6d 50 61 74 68 28 66 |e.fileFr|omPath(f|
|000006e0| 69 6c 65 50 61 74 68 4e | 61 6d 65 29 0d 09 09 09 |ilePathN|ame)....|
|000006f0| 73 61 76 65 41 73 4e 61 | 6d 65 0d 09 09 69 66 20 |saveAsNa|me...if |
|00000700| 61 64 64 69 6e 67 20 74 | 68 65 20 73 75 66 66 69 |adding t|he suffi|
|00000710| 78 20 22 2e 4d 57 50 72 | 6f 22 20 77 69 6c 6c 20 |x ".MWPr|o" will |
|00000720| 6d 61 6b 65 20 74 68 65 | 20 66 69 6c 65 20 6e 61 |make the| file na|
|00000730| 6d 65 20 62 65 20 6c 6f | 6e 67 65 72 20 74 68 61 |me be lo|nger tha|
|00000740| 6e 20 33 31 20 63 68 61 | 72 61 63 74 65 72 73 2c |n 31 cha|racters,|
|00000750| 20 74 68 65 6e 20 73 68 | 6f 72 74 65 6e 20 74 68 | then sh|orten th|
|00000760| 65 20 6e 61 6d 65 0d 09 | 09 69 66 20 73 69 7a 65 |e name..|.if size|
|00000770| 6f 66 28 66 69 6c 65 4e | 61 6d 65 29 20 3e 20 33 |of(fileN|ame) > 3|
|00000780| 31 2d 73 75 66 66 69 78 | 4c 65 6e 67 74 68 0d 09 |1-suffix|Length..|
|00000790| 09 09 66 69 6c 65 4e 61 | 6d 65 20 3d 20 73 74 72 |..fileNa|me = str|
|000007a0| 69 6e 67 2e 6d 69 64 28 | 66 69 6c 65 4e 61 6d 65 |ing.mid(|fileName|
|000007b0| 2c 20 31 2c 20 33 31 2d | 73 75 66 66 69 78 4c 65 |, 1, 31-|suffixLe|
|000007c0| 6e 67 74 68 29 0d 09 09 | 09 73 61 76 65 41 73 4e |ngth)...|.saveAsN|
|000007d0| 61 6d 65 20 3d 20 66 69 | 6c 65 2e 66 6f 6c 64 65 |ame = fi|le.folde|
|000007e0| 72 46 72 6f 6d 50 61 74 | 68 28 66 69 6c 65 50 61 |rFromPat|h(filePa|
|000007f0| 74 68 4e 61 6d 65 29 2b | 66 69 6c 65 4e 61 6d 65 |thName)+|fileName|
|00000800| 2b 73 75 66 66 69 78 0d | 09 09 65 6c 73 65 0d 09 |+suffix.|..else..|
|00000810| 09 09 6f 74 68 65 72 77 | 69 73 65 20 6a 75 73 74 |..otherw|ise just|
|00000820| 20 61 64 64 20 74 68 65 | 20 73 75 66 66 69 78 0d | add the| suffix.|
|00000830| 09 09 09 73 61 76 65 41 | 73 4e 61 6d 65 20 3d 20 |...saveA|sName = |
|00000840| 73 74 72 69 6e 67 28 66 | 69 6c 65 50 61 74 68 4e |string(f|ilePathN|
|00000850| 61 6d 65 29 20 2b 20 73 | 75 66 66 69 78 0d 09 09 |ame) + s|uffix...|
|00000860| 63 61 6c 6c 20 74 68 65 | 20 74 72 61 6e 73 6c 61 |call the| transla|
|00000870| 74 69 6f 6e 20 70 72 6f | 63 65 64 75 72 65 20 74 |tion pro|cedure t|
|00000880| 6f 20 74 72 61 6e 73 6c | 61 74 65 20 74 68 69 73 |o transl|ate this|
|00000890| 20 66 69 6c 65 0d 09 09 | 74 72 61 6e 73 6c 61 74 | file...|translat|
|000008a0| 65 41 44 6f 63 75 6d 65 | 6e 74 28 66 69 6c 65 50 |eADocume|nt(fileP|
|000008b0| 61 74 68 4e 61 6d 65 2c | 20 73 61 76 65 41 73 4e |athName,| saveAsN|
|000008c0| 61 6d 65 29 0d 09 09 72 | 65 74 75 72 6e 20 74 72 |ame)...r|eturn tr|
|000008d0| 75 65 0d 09 6f 6e 20 74 | 72 61 6e 73 6c 61 74 65 |ue..on t|ranslate|
|000008e0| 41 44 6f 63 75 6d 65 6e | 74 28 66 69 6c 65 50 61 |ADocumen|t(filePa|
|000008f0| 74 68 4e 61 6d 65 2c 20 | 73 61 76 65 41 73 4e 61 |thName, |saveAsNa|
|00000900| 6d 65 29 0d 09 09 0d 09 | 09 74 72 61 6e 73 6c 61 |me).....|.transla|
|00000910| 74 65 41 44 6f 63 75 6d | 65 6e 74 20 63 68 65 63 |teADocum|ent chec|
|00000920| 6b 73 20 74 6f 20 73 65 | 65 20 77 68 65 74 68 65 |ks to se|e whethe|
|00000930| 72 20 74 68 65 20 66 69 | 6c 65 20 69 73 20 61 6c |r the fi|le is al|
|00000940| 72 65 61 64 79 20 61 20 | 4d 61 63 57 72 69 74 65 |ready a |MacWrite|
|00000950| 20 50 72 6f 20 66 69 6c | 65 2e 20 49 66 20 74 68 | Pro fil|e. If th|
|00000960| 65 20 66 69 6c 65 20 0d | 09 09 09 69 73 20 61 20 |e file .|...is a |
|00000970| 4d 57 20 50 72 6f 20 66 | 69 6c 65 2c 20 74 72 61 |MW Pro f|ile, tra|
|00000980| 6e 73 6c 61 74 65 41 44 | 6f 63 75 6d 65 6e 74 20 |nslateAD|ocument |
|00000990| 73 65 74 73 20 74 68 65 | 20 72 65 70 6f 72 74 20 |sets the| report |
|000009a0| 73 74 72 69 6e 67 20 74 | 6f 20 69 6e 64 69 63 61 |string t|o indica|
|000009b0| 74 65 20 74 68 69 73 2c | 20 63 61 6c 6c 73 20 74 |te this,| calls t|
|000009c0| 68 65 20 0d 09 09 09 72 | 65 70 6f 72 74 2d 77 72 |he ....r|eport-wr|
|000009d0| 69 74 69 6e 67 20 72 6f | 75 74 69 6e 65 2c 20 61 |iting ro|utine, a|
|000009e0| 6e 64 20 65 78 69 74 73 | 2e 20 20 49 66 20 74 68 |nd exits|. If th|
|000009f0| 65 20 66 69 6c 65 20 69 | 73 20 6e 6f 74 20 61 20 |e file i|s not a |
|00000a00| 4d 57 20 50 72 6f 20 66 | 69 6c 65 2c 20 63 68 65 |MW Pro f|ile, che|
|00000a10| 63 6b 20 74 6f 20 73 65 | 65 20 69 66 20 74 68 65 |ck to se|e if the|
|00000a20| 20 66 69 6c 65 20 0d 09 | 09 09 69 73 20 61 6e 79 | file ..|..is any|
|00000a30| 20 6f 66 20 61 20 6e 75 | 6d 62 65 72 20 6f 66 20 | of a nu|mber of |
|00000a40| 63 6f 6d 6d 6f 6e 20 66 | 69 6c 65 73 20 74 68 61 |common f|iles tha|
|00000a50| 74 20 61 72 65 20 6e 6f | 74 20 57 50 20 66 69 6c |t are no|t WP fil|
|00000a60| 65 73 2e 20 49 66 20 73 | 6f 2c 20 61 64 64 20 61 |es. If s|o, add a|
|00000a70| 20 6e 6f 74 65 20 74 6f | 20 74 68 65 20 73 74 61 | note to| the sta|
|00000a80| 74 75 73 20 72 65 70 6f | 72 74 0d 09 09 09 61 6e |tus repo|rt....an|
|00000a90| 64 20 72 65 74 75 72 6e | 2e 20 4f 74 68 65 72 77 |d return|. Otherw|
|00000aa0| 69 73 65 2c 20 63 61 6c | 6c 20 6f 70 65 6e 54 68 |ise, cal|l openTh|
|00000ab0| 65 44 6f 63 75 6d 65 6e | 74 20 74 6f 20 74 72 61 |eDocumen|t to tra|
|00000ac0| 6e 73 6c 61 74 65 20 74 | 68 65 20 64 6f 63 75 6d |nslate t|he docum|
|00000ad0| 65 6e 74 2c 20 74 68 65 | 6e 20 73 61 76 65 54 68 |ent, the|n saveTh|
|00000ae0| 65 54 72 61 6e 73 6c 61 | 74 69 6f 6e 0d 09 09 09 |eTransla|tion....|
|00000af0| 69 66 20 74 68 65 20 74 | 72 61 6e 73 6c 61 74 69 |if the t|ranslati|
|00000b00| 6f 6e 20 77 61 73 20 73 | 75 63 63 65 73 73 66 75 |on was s|uccessfu|
|00000b10| 6c 2e 0d 09 09 0d 09 09 | 6c 6f 63 61 6c 0d 09 09 |l.......|local...|
|00000b20| 09 6d 79 46 69 6c 65 54 | 79 70 65 20 3d 20 66 69 |.myFileT|ype = fi|
|00000b30| 6c 65 2e 74 79 70 65 28 | 66 69 6c 65 50 61 74 68 |le.type(|filePath|
|00000b40| 4e 61 6d 65 29 0d 09 09 | 09 74 68 65 53 74 61 74 |Name)...|.theStat|
|00000b50| 75 73 52 65 70 6f 72 74 | 20 3d 20 22 22 0d 09 09 |usReport| = ""...|
|00000b60| 69 66 20 6d 79 46 69 6c | 65 54 79 70 65 20 3d 3d |if myFil|eType ==|
|00000b70| 20 27 4d 57 50 64 27 20 | 6f 72 20 6d 79 46 69 6c | 'MWPd' |or myFil|
|00000b80| 65 54 79 70 65 20 3d 3d | 20 27 73 57 50 64 27 0d |eType ==| 'sWPd'.|
|00000b90| 09 09 09 74 68 65 53 74 | 61 74 75 73 52 65 70 6f |...theSt|atusRepo|
|00000ba0| 72 74 20 3d 20 22 d2 22 | 20 2b 20 66 69 6c 65 50 |rt = "."| + fileP|
|00000bb0| 61 74 68 4e 61 6d 65 20 | 2b 20 22 d3 20 69 73 20 |athName |+ ". is |
|00000bc0| 61 20 4d 61 63 57 72 69 | 74 65 20 50 72 6f 20 64 |a MacWri|te Pro d|
|00000bd0| 6f 63 75 6d 65 6e 74 3b | 20 6e 6f 20 74 72 61 6e |ocument;| no tran|
|00000be0| 73 6c 61 74 69 6f 6e 20 | 69 73 20 6e 65 63 65 73 |slation |is neces|
|00000bf0| 73 61 72 79 2e 22 0d 09 | 09 65 6c 73 65 20 0d 09 |sary."..|.else ..|
|00000c00| 09 09 69 66 20 69 73 45 | 78 63 6c 75 64 65 64 28 |..if isE|xcluded(|
|00000c10| 6d 79 46 69 6c 65 54 79 | 70 65 29 0d 09 09 09 09 |myFileTy|pe).....|
|00000c20| 74 68 65 53 74 61 74 75 | 73 52 65 70 6f 72 74 20 |theStatu|sReport |
|00000c30| 3d 20 22 d2 22 20 2b 20 | 66 69 6c 65 50 61 74 68 |= "." + |filePath|
|00000c40| 4e 61 6d 65 20 2b 20 22 | d3 20 69 73 20 61 6e 20 |Name + "|. is an |
|00000c50| 61 70 70 6c 69 63 61 74 | 69 6f 6e 20 6f 72 20 44 |applicat|ion or D|
|00000c60| 41 20 6f 72 20 63 6f 6e | 74 72 6f 6c 20 70 61 6e |A or con|trol pan|
|00000c70| 65 6c 2c 20 65 74 63 2e | 2c 20 61 6e 64 20 63 61 |el, etc.|, and ca|
|00000c80| 6e 6e 6f 74 20 62 65 20 | 74 72 61 6e 73 6c 61 74 |nnot be |translat|
|00000c90| 65 64 2e 22 0d 09 09 09 | 65 6c 73 65 0d 09 09 09 |ed."....|else....|
|00000ca0| 09 69 66 20 6f 70 65 6e | 54 68 65 44 6f 63 75 6d |.if open|TheDocum|
|00000cb0| 65 6e 74 28 66 69 6c 65 | 50 61 74 68 4e 61 6d 65 |ent(file|PathName|
|00000cc0| 29 0d 09 09 09 09 09 73 | 61 76 65 54 68 65 54 72 |)......s|aveTheTr|
|00000cd0| 61 6e 73 6c 61 74 69 6f | 6e 28 66 69 6c 65 50 61 |anslatio|n(filePa|
|00000ce0| 74 68 4e 61 6d 65 2c 20 | 73 61 76 65 41 73 4e 61 |thName, |saveAsNa|
|00000cf0| 6d 65 29 0d 09 09 69 66 | 20 74 68 65 20 73 74 61 |me)...if| the sta|
|00000d00| 74 75 73 20 72 65 70 6f | 72 74 20 73 74 72 69 6e |tus repo|rt strin|
|00000d10| 67 20 69 73 20 6e 6f 74 | 20 65 6d 70 74 79 2c 20 |g is not| empty, |
|00000d20| 61 64 64 20 69 74 20 74 | 6f 20 74 68 65 20 67 6c |add it t|o the gl|
|00000d30| 6f 62 61 6c 20 72 65 70 | 6f 72 74 20 73 74 72 69 |obal rep|ort stri|
|00000d40| 6e 67 0d 09 09 69 66 20 | 74 68 65 53 74 61 74 75 |ng...if |theStatu|
|00000d50| 73 52 65 70 6f 72 74 20 | ad 20 22 22 0d 09 09 09 |sReport |. ""....|
|00000d60| 73 63 72 61 74 63 68 70 | 61 64 2e 46 69 6c 65 43 |scratchp|ad.FileC|
|00000d70| 6f 6e 76 65 72 74 65 72 | 52 65 70 6f 72 74 53 74 |onverter|ReportSt|
|00000d80| 72 69 6e 67 20 3d 20 73 | 63 72 61 74 63 68 70 61 |ring = s|cratchpa|
|00000d90| 64 2e 46 69 6c 65 43 6f | 6e 76 65 72 74 65 72 52 |d.FileCo|nverterR|
|00000da0| 65 70 6f 72 74 53 74 72 | 69 6e 67 20 2b 20 74 68 |eportStr|ing + th|
|00000db0| 65 53 74 61 74 75 73 52 | 65 70 6f 72 74 20 2b 20 |eStatusR|eport + |
|00000dc0| 43 52 0d 09 6f 6e 20 69 | 73 45 78 63 6c 75 64 65 |CR..on i|sExclude|
|00000dd0| 64 28 74 68 65 46 69 6c | 65 54 79 70 65 29 0d 09 |d(theFil|eType)..|
|00000de0| 09 62 75 6e 64 6c 65 0d | 09 09 4e 6f 74 65 20 74 |.bundle.|..Note t|
|00000df0| 68 61 74 20 69 6e 20 46 | 72 6f 6e 74 69 65 72 20 |hat in F|rontier |
|00000e00| 33 2e 30 2c 20 74 68 69 | 73 20 72 6f 75 74 69 6e |3.0, thi|s routin|
|00000e10| 65 20 63 61 6e 20 62 65 | 20 73 69 6d 70 6c 69 66 |e can be| simplif|
|00000e20| 69 65 64 20 74 6f 20 74 | 68 65 20 66 6f 6c 6c 6f |ied to t|he follo|
|00000e30| 77 69 6e 67 20 6c 69 6e | 65 3a 0d 09 09 09 72 65 |wing lin|e:....re|
|00000e40| 74 75 72 6e 20 7b 27 41 | 50 50 4c 27 2c 20 27 49 |turn {'A|PPL', 'I|
|00000e50| 4e 49 54 27 2c 20 27 50 | 52 45 52 27 2c 20 27 73 |NIT', 'P|RER', 's|
|00000e60| 63 72 69 27 2c 20 27 52 | 44 45 56 27 2c 20 27 63 |cri', 'R|DEV', 'c|
|00000e70| 64 65 76 27 2c 20 27 43 | 44 45 56 27 2c 20 27 64 |dev', 'C|DEV', 'd|
|00000e80| 66 69 6c 27 2c 20 27 44 | 46 49 4c 27 2c 20 27 66 |fil', 'D|FIL', 'f|
|00000e90| 66 69 6c 27 2c 20 27 46 | 46 49 4c 27 2c 20 27 50 |fil', 'F|FIL', 'P|
|00000ea0| 49 43 54 27 2c 20 27 53 | 54 41 4b 27 7d 20 63 6f |ICT', 'S|TAK'} co|
|00000eb0| 6e 74 61 69 6e 73 20 74 | 68 65 46 69 6c 65 54 79 |ntains t|heFileTy|
|00000ec0| 70 65 0d 09 09 62 75 6e | 64 6c 65 0d 09 09 09 6c |pe...bun|dle....l|
|00000ed0| 6f 63 61 6c 0d 09 09 09 | 09 65 78 63 6c 75 64 65 |ocal....|.exclude|
|00000ee0| 64 20 3d 20 66 61 6c 73 | 65 0d 09 09 09 09 65 78 |d = fals|e.....ex|
|00000ef0| 63 6c 75 73 69 6f 6e 4c | 69 73 74 20 3d 20 22 41 |clusionL|ist = "A|
|00000f00| 50 50 4c 49 4e 49 54 50 | 52 45 52 73 63 72 69 52 |PPLINITP|RERscriR|
|00000f10| 44 45 56 63 64 65 76 43 | 44 45 56 64 66 69 6c 44 |DEVcdevC|DEVdfilD|
|00000f20| 46 49 4c 66 66 69 6c 46 | 46 49 4c 50 49 43 54 53 |FILffilF|FILPICTS|
|00000f30| 54 41 4b 22 0d 09 09 09 | 09 65 6e 74 72 69 65 73 |TAK"....|.entries|
|00000f40| 20 3d 20 73 69 7a 65 6f | 66 28 65 78 63 6c 75 73 | = sizeo|f(exclus|
|00000f50| 69 6f 6e 4c 69 73 74 29 | 2f 34 0d 09 09 09 09 6f |ionList)|/4.....o|
|00000f60| 66 66 73 65 74 20 3d 20 | 31 0d 09 09 09 09 74 53 |ffset = |1.....tS|
|00000f70| 74 72 69 6e 67 20 3d 20 | 73 74 72 69 6e 67 28 74 |tring = |string(t|
|00000f80| 68 65 46 69 6c 65 54 79 | 70 65 29 0d 09 09 09 66 |heFileTy|pe)....f|
|00000f90| 6f 72 20 65 6e 74 72 79 | 20 3d 20 31 20 74 6f 20 |or entry| = 1 to |
|00000fa0| 65 6e 74 72 69 65 73 0d | 09 09 09 09 63 68 65 63 |entries.|....chec|
|00000fb0| 6b 57 69 74 68 20 3d 20 | 73 74 72 69 6e 67 2e 6d |kWith = |string.m|
|00000fc0| 69 64 28 65 78 63 6c 75 | 73 69 6f 6e 4c 69 73 74 |id(exclu|sionList|
|00000fd0| 2c 20 6f 66 66 73 65 74 | 2c 20 34 29 0d 09 09 09 |, offset|, 4)....|
|00000fe0| 09 6f 66 66 73 65 74 20 | 3d 20 6f 66 66 73 65 74 |.offset |= offset|
|00000ff0| 20 2b 20 34 0d 09 09 09 | 09 69 66 20 74 53 74 72 | + 4....|.if tStr|
|00001000| 69 6e 67 20 3d 3d 20 63 | 68 65 63 6b 57 69 74 68 |ing == c|heckWith|
|00001010| 0d 09 09 09 09 09 65 78 | 63 6c 75 64 65 64 20 3d |......ex|cluded =|
|00001020| 20 74 72 75 65 0d 09 09 | 09 09 09 62 72 65 61 6b | true...|...break|
|00001030| 0d 09 09 09 72 65 74 75 | 72 6e 20 65 78 63 6c 75 |....retu|rn exclu|
|00001040| 64 65 64 0d 09 6f 6e 20 | 6f 70 65 6e 54 68 65 44 |ded..on |openTheD|
|00001050| 6f 63 75 6d 65 6e 74 28 | 74 68 65 46 69 6c 65 4e |ocument(|theFileN|
|00001060| 61 6d 65 29 0d 09 09 6f | 70 65 6e 54 68 65 44 6f |ame)...o|penTheDo|
|00001070| 63 75 6d 65 6e 74 20 61 | 74 74 65 6d 70 74 73 20 |cument a|ttempts |
|00001080| 74 6f 20 6f 70 65 6e 20 | 74 68 65 20 66 69 6c 65 |to open |the file|
|00001090| 6e 61 6d 65 20 70 61 73 | 73 65 64 20 74 6f 20 69 |name pas|sed to i|
|000010a0| 74 2e 20 49 66 20 73 75 | 63 63 65 73 73 66 75 6c |t. If su|ccessful|
|000010b0| 2c 20 69 74 20 72 65 74 | 75 72 6e 73 20 74 72 75 |, it ret|urns tru|
|000010c0| 65 2e 20 49 66 20 75 6e | 73 75 63 63 65 73 73 66 |e. If un|successf|
|000010d0| 75 6c 2c 20 0d 09 09 09 | 69 74 20 77 72 69 74 65 |ul, ....|it write|
|000010e0| 73 20 74 68 65 20 65 72 | 72 6f 72 20 72 65 74 75 |s the er|ror retu|
|000010f0| 72 6e 65 64 20 62 79 20 | 4d 61 63 57 72 69 74 65 |rned by |MacWrite|
|00001100| 20 50 72 6f 20 74 6f 20 | 74 68 65 20 73 74 61 74 | Pro to |the stat|
|00001110| 75 73 20 72 65 70 6f 72 | 74 2c 20 74 68 65 6e 20 |us repor|t, then |
|00001120| 72 65 74 75 72 6e 73 20 | 66 61 6c 73 65 20 74 6f |returns |false to|
|00001130| 20 74 68 65 20 63 61 6c | 6c 65 72 2e 0d 09 09 6c | the cal|ler....l|
|00001140| 6f 63 61 6c 0d 09 09 09 | 6d 79 52 65 73 75 6c 74 |ocal....|myResult|
|00001150| 20 3d 20 74 72 75 65 0d | 09 09 09 74 68 65 53 74 | = true.|...theSt|
|00001160| 61 74 75 73 52 65 70 6f | 72 74 0d 09 09 74 72 79 |atusRepo|rt...try|
|00001170| 0d 09 09 09 4d 61 63 57 | 72 69 74 65 2e 6f 70 65 |....MacW|rite.ope|
|00001180| 6e 44 6f 63 75 6d 65 6e | 74 28 61 6c 69 61 73 28 |nDocumen|t(alias(|
|00001190| 74 68 65 46 69 6c 65 4e | 61 6d 65 29 29 0d 09 09 |theFileN|ame))...|
|000011a0| 65 6c 73 65 0d 09 09 09 | 6d 79 52 65 73 75 6c 74 |else....|myResult|
|000011b0| 20 3d 20 66 61 6c 73 65 | 0d 09 09 09 74 68 65 53 | = false|....theS|
|000011c0| 74 61 74 75 73 52 65 70 | 6f 72 74 20 3d 20 22 d2 |tatusRep|ort = ".|
|000011d0| 22 20 2b 20 74 68 65 46 | 69 6c 65 4e 61 6d 65 20 |" + theF|ileName |
|000011e0| 2b 20 22 d3 20 22 20 2b | 20 74 72 79 45 72 72 6f |+ ". " +| tryErro|
|000011f0| 72 20 2b 20 22 2e 22 0d | 09 09 09 73 63 72 61 74 |r + ".".|...scrat|
|00001200| 63 68 70 61 64 2e 46 69 | 6c 65 43 6f 6e 76 65 72 |chpad.Fi|leConver|
|00001210| 74 65 72 52 65 70 6f 72 | 74 53 74 72 69 6e 67 20 |terRepor|tString |
|00001220| 3d 20 73 63 72 61 74 63 | 68 70 61 64 2e 46 69 6c |= scratc|hpad.Fil|
|00001230| 65 43 6f 6e 76 65 72 74 | 65 72 52 65 70 6f 72 74 |eConvert|erReport|
|00001240| 53 74 72 69 6e 67 20 2b | 20 74 68 65 53 74 61 74 |String +| theStat|
|00001250| 75 73 52 65 70 6f 72 74 | 20 2b 20 43 52 0d 09 09 |usReport| + CR...|
|00001260| 72 65 74 75 72 6e 20 6d | 79 52 65 73 75 6c 74 0d |return m|yResult.|
|00001270| 09 6f 6e 20 73 61 76 65 | 54 68 65 54 72 61 6e 73 |.on save|TheTrans|
|00001280| 6c 61 74 69 6f 6e 28 74 | 68 65 46 69 6c 65 4e 61 |lation(t|heFileNa|
|00001290| 6d 65 2c 20 74 68 65 53 | 61 76 65 64 4e 61 6d 65 |me, theS|avedName|
|000012a0| 29 0d 09 09 6c 6f 63 61 | 6c 0d 09 09 09 6d 79 46 |)...loca|l....myF|
|000012b0| 69 6c 65 4e 61 6d 65 20 | 3d 20 22 d2 22 20 2b 20 |ileName |= "." + |
|000012c0| 74 68 65 46 69 6c 65 4e | 61 6d 65 20 2b 20 22 d3 |theFileN|ame + ".|
|000012d0| 22 0d 09 09 09 74 68 65 | 53 74 61 74 75 73 52 65 |"....the|StatusRe|
|000012e0| 70 6f 72 74 20 3d 20 22 | 22 0d 09 09 69 66 20 6e |port = "|"...if n|
|000012f0| 6f 74 20 64 65 6d 6f 56 | 65 72 73 69 6f 6e 0d 09 |ot demoV|ersion..|
|00001300| 09 09 64 6f 6e 27 74 20 | 62 6f 74 68 65 72 20 74 |..don't |bother t|
|00001310| 72 79 69 6e 67 20 74 6f | 20 73 61 76 65 20 77 69 |rying to| save wi|
|00001320| 74 68 20 74 68 65 20 64 | 65 6d 6f 20 76 65 72 73 |th the d|emo vers|
|00001330| 69 6f 6e 20 21 0d 09 09 | 09 77 69 74 68 20 4d 61 |ion !...|.with Ma|
|00001340| 63 57 72 69 74 65 0d 09 | 09 09 09 74 72 79 0d 09 |cWrite..|...try..|
|00001350| 09 09 09 09 73 61 76 65 | 44 6f 63 75 6d 65 6e 74 |....save|Document|
|00001360| 41 73 28 73 74 72 69 6e | 67 28 74 68 65 53 61 76 |As(strin|g(theSav|
|00001370| 65 64 4e 61 6d 65 29 29 | 0d 09 09 09 09 09 63 6c |edName))|......cl|
|00001380| 6f 73 65 44 6f 63 75 6d | 65 6e 74 28 29 0d 09 09 |oseDocum|ent()...|
|00001390| 09 09 09 74 68 65 53 74 | 61 74 75 73 52 65 70 6f |...theSt|atusRepo|
|000013a0| 72 74 20 3d 20 6d 79 46 | 69 6c 65 4e 61 6d 65 20 |rt = myF|ileName |
|000013b0| 2b 20 22 20 77 61 73 20 | 73 75 63 63 65 73 73 66 |+ " was |successf|
|000013c0| 75 6c 6c 79 20 74 72 61 | 6e 73 6c 61 74 65 64 2e |ully tra|nslated.|
|000013d0| 22 0d 09 09 09 09 65 6c | 73 65 0d 09 09 09 09 09 |".....el|se......|
|000013e0| 74 68 65 53 74 61 74 75 | 73 52 65 70 6f 72 74 20 |theStatu|sReport |
|000013f0| 3d 20 22 54 68 65 20 74 | 72 61 6e 73 6c 61 74 69 |= "The t|ranslati|
|00001400| 6f 6e 20 6f 66 20 74 68 | 65 20 66 69 6c 65 20 22 |on of th|e file "|
|00001410| 20 2b 20 6d 79 46 69 6c | 65 4e 61 6d 65 20 2b 20 | + myFil|eName + |
|00001420| 22 20 63 6f 75 6c 64 20 | 6e 6f 74 20 62 65 20 73 |" could |not be s|
|00001430| 61 76 65 64 20 62 65 63 | 61 75 73 65 20 22 20 2b |aved bec|ause " +|
|00001440| 20 74 72 79 45 72 72 6f | 72 0d 09 09 65 6c 73 65 | tryErro|r...else|
|00001450| 0d 09 09 09 74 68 65 53 | 74 61 74 75 73 52 65 70 |....theS|tatusRep|
|00001460| 6f 72 74 20 3d 20 22 54 | 68 65 20 74 72 61 6e 73 |ort = "T|he trans|
|00001470| 6c 61 74 69 6f 6e 20 6f | 66 20 74 68 65 20 66 69 |lation o|f the fi|
|00001480| 6c 65 20 22 20 2b 20 4d | 79 46 69 6c 65 4e 61 6d |le " + M|yFileNam|
|00001490| 65 20 2b 20 22 20 77 61 | 73 20 6e 6f 74 20 73 61 |e + " wa|s not sa|
|000014a0| 76 65 64 20 62 65 63 61 | 75 73 65 20 74 68 69 73 |ved beca|use this|
|000014b0| 20 69 73 20 74 68 65 20 | 64 65 6d 6f 20 76 65 72 | is the |demo ver|
|000014c0| 73 69 6f 6e 20 6f 66 20 | 4d 61 63 57 72 69 74 65 |sion of |MacWrite|
|000014d0| 20 50 72 6f 2e 22 0d 09 | 09 73 63 72 61 74 63 68 | Pro."..|.scratch|
|000014e0| 70 61 64 2e 46 69 6c 65 | 43 6f 6e 76 65 72 74 65 |pad.File|Converte|
|000014f0| 72 52 65 70 6f 72 74 53 | 74 72 69 6e 67 20 3d 20 |rReportS|tring = |
|00001500| 73 63 72 61 74 63 68 70 | 61 64 2e 46 69 6c 65 43 |scratchp|ad.FileC|
|00001510| 6f 6e 76 65 72 74 65 72 | 52 65 70 6f 72 74 53 74 |onverter|ReportSt|
|00001520| 72 69 6e 67 20 2b 20 74 | 68 65 53 74 61 74 75 73 |ring + t|heStatus|
|00001530| 52 65 70 6f 72 74 20 2b | 20 43 52 0d 09 69 66 20 |Report +| CR..if |
|00001540| 21 4d 61 63 57 72 69 74 | 65 2e 69 73 52 75 6e 6e |!MacWrit|e.isRunn|
|00001550| 69 6e 67 28 29 0d 09 09 | 4d 61 63 57 72 69 74 65 |ing()...|MacWrite|
|00001560| 2e 6c 61 75 6e 63 68 28 | 29 0d 09 77 69 74 68 20 |.launch(|)..with |
|00001570| 4d 61 63 57 72 69 74 65 | 0d 09 09 76 65 72 73 69 |MacWrite|...versi|
|00001580| 6f 6e 4e 75 6d 62 65 72 | 20 3d 20 67 65 74 56 65 |onNumber| = getVe|
|00001590| 72 73 69 6f 6e 28 29 2f | 36 35 35 33 36 0d 09 09 |rsion()/|65536...|
|000015a0| 64 65 6d 6f 56 65 72 73 | 69 6f 6e 20 3d 20 76 65 |demoVers|ion = ve|
|000015b0| 72 73 69 6f 6e 4e 75 6d | 62 65 72 20 3e 20 32 30 |rsionNum|ber > 20|
|000015c0| 30 0d 09 09 73 75 66 66 | 69 78 20 3d 20 22 2e 4d |0...suff|ix = ".M|
|000015d0| 57 50 72 6f 22 0d 09 09 | 73 75 66 66 69 78 4c 65 |WPro"...|suffixLe|
|000015e0| 6e 67 74 68 20 3d 20 73 | 69 7a 65 6f 66 28 73 75 |ngth = s|izeof(su|
|000015f0| 66 66 69 78 29 0d 09 69 | 66 20 66 69 6c 65 2e 69 |ffix)..i|f file.i|
|00001600| 73 46 6f 6c 64 65 72 28 | 73 79 73 74 65 6d 2e 64 |sFolder(|system.d|
|00001610| 72 6f 70 6c 65 74 2e 70 | 61 74 68 29 0d 09 09 63 |roplet.p|ath)...c|
|00001620| 6f 6e 76 65 72 74 46 6f | 6c 64 65 72 28 73 79 73 |onvertFo|lder(sys|
|00001630| 74 65 6d 2e 64 72 6f 70 | 6c 65 74 2e 70 61 74 68 |tem.drop|let.path|
|00001640| 29 0d 09 65 6c 73 65 0d | 09 09 63 6f 6e 76 65 72 |)..else.|..conver|
|00001650| 74 46 69 6c 65 28 73 79 | 73 74 65 6d 2e 64 72 6f |tFile(sy|stem.dro|
|00001660| 70 6c 65 74 2e 70 61 74 | 68 29 0d 80 00 00 00 00 |plet.pat|h)......|
|00001670| 00 80 00 00 00 00 00 80 | 00 00 00 00 00 80 00 00 |........|........|
|00001680| 00 00 00 80 00 00 00 00 | 00 80 00 00 00 00 00 80 |........|........|
|00001690| 00 00 00 00 00 80 00 00 | 00 00 00 80 00 00 00 00 |........|........|
|000016a0| 00 80 00 00 00 00 00 80 | 00 00 00 00 00 80 00 00 |........|........|
|000016b0| 00 00 00 80 00 00 00 00 | 00 80 00 00 00 00 00 84 |........|........|
|000016c0| 00 00 00 00 00 80 00 00 | 00 00 00 80 00 00 00 00 |........|........|
|000016d0| 00 80 00 00 00 00 00 80 | 00 00 00 00 00 80 00 00 |........|........|
|000016e0| 00 00 00 84 00 00 00 00 | 00 80 00 00 00 00 00 80 |........|........|
|000016f0| 00 00 00 00 00 80 00 00 | 00 00 00 80 00 00 00 00 |........|........|
|00001700| 00 80 00 00 00 00 00 80 | 00 00 00 00 00 80 00 00 |........|........|
|00001710| 00 00 00 00 00 00 00 00 | 00 84 00 00 00 00 00 80 |........|........|
|00001720| 00 00 00 00 00 80 00 00 | 00 00 00 80 00 00 00 00 |........|........|
|00001730| 00 80 00 00 00 00 00 80 | 00 00 00 00 00 80 00 00 |........|........|
|00001740| 00 00 00 80 00 00 00 00 | 00 00 00 00 00 00 00 04 |........|........|
|00001750| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001760| 00 04 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001770| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 04 |........|........|
|00001780| 00 00 00 00 00 00 00 00 | 00 00 00 04 00 00 00 00 |........|........|
|00001790| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 80 00 00 |........|........|
|000017a0| 00 00 00 04 00 00 00 00 | 00 04 00 00 00 00 00 04 |........|........|
|000017b0| 00 00 00 00 00 04 00 00 | 00 00 00 04 00 00 00 00 |........|........|
|000017c0| 00 04 00 00 00 00 00 04 | 00 00 00 00 00 04 00 00 |........|........|
|000017d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000017e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000017f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001800| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001810| 00 00 00 00 00 04 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001820| 00 00 00 00 00 00 00 80 | 00 00 00 00 00 04 00 00 |........|........|
|00001830| 00 00 00 04 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001840| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001850| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001860| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001870| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001880| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001890| 00 00 00 80 00 00 00 00 | 00 04 00 00 00 00 00 04 |........|........|
|000018a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000018b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000018c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000018d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000018e0| 00 80 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000018f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 04 |........|........|
|00001900| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001910| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001920| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001930| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001940| 00 80 00 00 00 00 00 00 | 00 00 00 00 00 80 00 00 |........|........|
|00001950| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001960| 00 00 00 00 00 00 00 00 | 00 00 00 80 00 00 00 00 |........|........|
|00001970| 00 00 00 00 00 00 00 80 | 00 00 00 00 00 00 00 00 |........|........|
|00001980| 00 00 00 | |... | |
+--------+-------------------------+-------------------------+--------+--------+